﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

<<<<<<< HEAD
public class Shore
=======
public class Shore
>>>>>>> af278523501920b14a6298f03aa4bd9ad9d33c2d
{
    public GameObject shore;
    public int priestCount, devilCount;

<<<<<<< HEAD
    public void Start(bool isRight)
    {
        if (isRight)
            priestCount = devilCount = 0;
        else
            priestCount = devilCount = 3;
=======
    public void Start(bool isRight)
    {
        if (isRight)
            priestCount = devilCount = 0;
        else
            priestCount = devilCount = 3;
>>>>>>> af278523501920b14a6298f03aa4bd9ad9d33c2d
    }

    public Shore(Vector3 position)
    {
        shore = GameObject.Instantiate(Resources.Load("Prefabs/Shore", typeof(GameObject))) as GameObject;
        priestCount = devilCount = 0;
        shore.transform.position = position;
    }

}
